package cn.tedu.egvehicle1.mapper;

import cn.tedu.egvehicle1.pojo.entity.Vehicle;
import cn.tedu.egvehicle1.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int insertVehicle(Vehicle vehicle);

    List<VehicleListVO> selectVehicle(@Param("brand") String brand,
                                      @Param("license") String license,
                                      @Param("id") Long userid);

    int delectVehicle(Long id);
}
